home *** CD-ROM | disk | FTP | other *** search
/ Mesolore / Mesolore - Disc 1.iso / pc / data / Buttons.cst / 00056_Script_retrace < prev    next >
Text File  |  2001-04-13  |  483b  |  28 lines

  1. Global gBalloonTimer
  2. on mousedown
  3.   btnDown
  4. end
  5. on mouseUp
  6.   btnUp
  7.   retrace
  8. end
  9.  
  10. on MouseEnter
  11.   gBalloonTimer = the ticks
  12.   
  13. end
  14. on MouseWithin
  15.   if the ticks > gBalloonTimer +70 then
  16.     puppetSprite 119, true
  17.     set the member of sprite 119 = "retrace_balloon"
  18.     set the loc of sprite 119 = point(515, 41)
  19.     updatestage
  20.   end if
  21.   
  22. end
  23.  
  24. on MouseLeave
  25.   puppetSprite 119, false
  26.   --  set the member of sprite 115 = "empty_balloon"
  27.   updatestage
  28. end